package com.ssm.entity;

import java.sql.Timestamp;

/**
 * Created by bai on 2017/7/31.
 */
public class Log {

    /*日志类，用于记录用户操作*/

    private int logId;//日志id
    private int userId;//每条日志对应一个用户，通过userId进行匹配
    private String operations;//日志记录的事件主体
    private Timestamp time;//每条操作日志对应一个操作时间



    public int  getLogId() {return logId;}

    public void setLogId(int logId) {
        this.logId = logId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public  int getUserId() {return userId;}

    public Timestamp getTime() {return time;}

    public void setTime(Timestamp time) {
        this.time = time;
    }

    public String getOperations() {
        return operations;
    }

    public void setOperations(String operations) {
        this.operations = operations;
    }
}
